package cn.nihao365.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author zhu hui (zhuhui@nihao365.cn)
 * @version 1.0
 * @date 2021-11-07 21:10:54
 */
@Controller
@RequestMapping("/admin")
public class HomeController{

    @RequestMapping("/home")
    public String index(Model model){
        model.addAttribute("message","系统crm主页面，需要登录哦~");
        return "home/index";
    }
}
